<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>{% block title %}title{% endblock %}</title>
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
{% include 'base/cssJs.html.twig' %}
</head>
<body class="layui-layout-body">
<div id="LAY_app">
    <div class="layui-layout layui-layout-admin">
        {% include 'base/header.html.twig' %}
        {% include 'base/side.html.twig' %}
        {% include 'base/pagetabs.html.twig' %}
        <div class="layui-body" id="LAY_app_body">
            <div class="layadmin-tabsbody-item layui-show">
                <iframe src="{{ get_home() }}" frameborder="0" class="layadmin-iframe"></iframe>
            </div>
        </div>
    </div>
</div>
<script>
layui.use(['index', 'admin']);

var dryCallback = null;

layui.use(["element"], function(){
    dryCallback = function(p){
        p(layui);
    };
});

layui.use(["jquery", "dry"], function($, dry){
    $("#logout").click(function(){
        dry.logout("/Api/User/logout", "/Admin/Home/login");
    });
    dry.isLogin("/Api/User/isLogin", "/Admin/Home/login", 3000);
});
</script>
</body>
</html>